package com.example.gulimall.product.feign.fallback;

import com.example.common.utils.R;
import com.example.gulimall.product.feign.SecKillFeignService;
import org.springframework.stereotype.Component;

@Component
public class SeckillFeignServiceFallBack implements SecKillFeignService {
    @Override
    public R getSkuSeckillInfo(Long skuId) {
        return R.error(1,"Feign已经宕机");
    }
}
